<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
  <TITLE> New Document </TITLE>
  <script src="jquery-1.4.2.min.js"></script>
  <style>
    .colors{color: red;}
    .fsize{font-size: 18px;}
  </style>
 </HEAD>

 <BODY>
 <script>
  $(document).ready(function(){
    $("#test").click(function(){
      $("#test").val("852").addClass("fsize").removeClass("colors");
    });
  });
 </script>
  <input type="text" name="test" id="test" value="00112233" onclick="" class="colors" />
 </BODY>
</HTML>
